package com.moon.service.impl;

import com.moon.mapper.UserMapper;
import com.moon.pojo.PageResult;
import com.moon.pojo.User;
import com.moon.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> getAll() {
        log.info("----------------default---------------------");
        return userMapper.getAll();
    }
}
